package com.sunfeng.gulimall.product.feign;

import com.sunfeng.common.es.SkuEsModel;
import com.sunfeng.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Author : SunFeng
 * @Description:
 * @Date : 2021/8/9  15:46
 */

@FeignClient("gulimall-search")
public interface SearchFeignService {
    @PostMapping(value = "/search/save/product")
    public R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
